package com.oceansoft.mobile.econsole.modules.weixin.entity;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

import java.util.List;
public class CptComplaintReportOut {
    private String guid;

    @NotBlank(message = "{cptcomplaintreportout.crtitle.required}")
    @Length(min = 2, message = "{cptcomplaintreportout.crtitle.length.invalid}")
    private String crtitle;

    @NotBlank(message = "{cptcomplaintreportout.crtype.required}")
    private String crtype;

    @NotBlank(message = "{cptcomplaintreportout.crcontent.required}")
    @Length(min = 10, max = 400, message = "{cptcomplaintreportout.crcontent.length.invalid}")
    private String crcontent;

    @NotBlank(message = "{cptcomplaintreportout.currentMemberMobile.required}")
    private String currentMemberMobile;

    private String userguid;

    private String username;

    private String contanctperson;

    private String contanctphone;

    private List<CptComplaintReportAtt> cptComplaintReportAtts;

    public String getGuid() {
        return guid;
    }

    public void setGuid(String guid) {
        this.guid = guid == null ? null : guid.trim();
    }

    public String getCrtitle() {
        return crtitle;
    }

    public void setCrtitle(String crtitle) {
        this.crtitle = crtitle == null ? null : crtitle.trim();
    }

    public String getCrcontent() {
        return crcontent;
    }

    public void setCrcontent(String crcontent) {
        this.crcontent = crcontent == null ? null : crcontent.trim();
    }

    public String getUserguid() {
        return userguid;
    }

    public void setUserguid(String userguid) {
        this.userguid = userguid == null ? null : userguid.trim();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getCurrentMemberMobile() {
        return currentMemberMobile;
    }

    public void setCurrentMemberMobile(String currentMemberMobile) {
        this.currentMemberMobile = currentMemberMobile == null ? null : currentMemberMobile.trim();
    }

    public List<CptComplaintReportAtt> getCptComplaintReportAtts() {
        return cptComplaintReportAtts;
    }

    public void setCptComplaintReportAtts(List<CptComplaintReportAtt> cptComplaintReportAtts) {
        this.cptComplaintReportAtts = cptComplaintReportAtts;
    }

    public String getContanctperson() {
        return contanctperson;
    }

    public void setContanctperson(String contanctperson) {
        this.contanctperson = contanctperson;
    }

    public String getContanctphone() {
        return contanctphone;
    }

    public void setContanctphone(String contanctphone) {
        this.contanctphone = contanctphone;
    }

    public String getCrtype() {
        return crtype;
    }

    public void setCrtype(String crtype) {
        this.crtype = crtype;
    }
}